#include "comm.hpp"

int main() {
    int fd = open(pathname.c_str(), O_WRONLY);
    string input;
    while (true) {
        getline(cin, input);
        write(fd, input.c_str(), input.size());
    }
    close(fd);
    return 0;
}